---
title: TopIndex Property
keywords: fm20.chm5225107
f1_keywords:
- fm20.chm5225107
ms.prod: office
api_name:
- Office.TopIndex
ms.assetid: fc4866ba-ee1c-ddd5-cf3d-562792cf97d9
ms.date: 06/08/2017
---


# TopIndex Property



Sets and returns the item that appears in the topmost position in the list.
 **Syntax**
 _object_. **TopIndex** [= _Variant_ ]
The  **TopIndex** property syntax has these parts:


|**Part**|**Description**|
|:-----|:-----|
| _object_|Required. A valid object.|
| _Variant_|Optional. The number of the list item that is displayed in the topmost position. The default is 0, or the first item in the list.|
 **Settings**
Returns the value -1 if the list is empty or not displayed.

